<template>
  <div>
    <template v-if="record.loaded">
      <commentBeanListFormDataVue :jsonData="record.formData" />
    </template>
    <template v-else>
      <div class="flex justify-center error">
        <a-empty description="数据加载失败" />
      </div>
    </template>
  </div>
</template>

<script>
import commentBeanListFormDataVue from "./commentBeanListFormRender.vue";

export default {
  props: {
    record: {
      type: Object,
      default: () => {},
    },
    index: {
      type: Number,
      default: 0,
    }
  },
  components: {
    commentBeanListFormDataVue,
  },
  computed: {
  },
  data() {
    return {};
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
.error {
  margin-top: 16px;
}
</style>